<template>
  <div class="dashboard-container">
      <div>
        <Card></Card>
        <Sale></Sale>
        <Observe></Observe>
      </div>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import Card from './Card/index'
import Sale from "@/views/dashboard/Sale";
import Observe from "@/views/dashboard/Observe";
export default {
  name: 'Dashboard',
  mounted() {
    this.$store.dispatch('getSaleData')
  },
  computed: {
    ...mapGetters([
      'name'
    ])
  },
  components:{
    Observe,
    Sale,
    Card
  }
}
</script>

<style lang="scss">
.dashboard {
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
